package com.xyht.sca_s.student_manage_system.modules.attendance.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 考勤打卡详情
 * </p>
 *
 * @author XYHT
 * @since 2023-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_attendance_detail")
@ApiModel(value="SmsAttendanceDetail对象", description="考勤打卡详情")
public class SmsAttendanceDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "考勤id")
    private String attendanceId;

    @ApiModelProperty(value = "学生用户id")
    private String stuId;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "学生头像")
    private String stuPic;

    @ApiModelProperty(value = "院系")
    private String stuCollege;

    @ApiModelProperty(value = "专业")
    private String stuMajor;

    @ApiModelProperty(value = "年级")
    private String stuGrade;

    @ApiModelProperty(value = "班级")
    private String stuClass;

    @ApiModelProperty(value = "考勤状态  0：考勤中  1：正常  2：缺勤：定位异常 3：缺勤：未签到  4：已签到，统计中")
    private Integer attendanceStatus;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "签到时间")
    private Date signTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "定位经度")
    private String longitude;

    @ApiModelProperty(value = "定位纬度")
    private String latitude;


}
